package org.jeecg.modules.wlhy.shipping.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.wlhy.shipping.entity.HyShippingLntaxReport;
import org.jeecg.modules.wlhy.shipping.entity.HyShippingNoteHistory;
import org.jeecg.modules.wlhy.shipping.mapper.HyShippingNoteHistoryMapper;
import org.jeecg.modules.wlhy.shipping.mapper.xml.HyShippingLntaxReportMapper;
import org.jeecg.modules.wlhy.shipping.service.IHyShippingLntaxReportService;
import org.jeecg.modules.wlhy.shipping.service.IHyShippingNoteHistoryService;
import org.springframework.stereotype.Service;

@Service
public class HyShippingLntaxReportServiceImpl extends ServiceImpl<HyShippingLntaxReportMapper, HyShippingLntaxReport> implements IHyShippingLntaxReportService {

    @Override
    public HyShippingLntaxReport getByShippingNoteNumber(String shippingNoteNumber) {
        return this.getOne(new LambdaQueryWrapper<HyShippingLntaxReport>().eq(HyShippingLntaxReport::getShippingNoteNumber, shippingNoteNumber));
    }
}
